package com.hsh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 这是一张测试表
 * </p>
 *
 * @author 黄思海
 * @since 2021-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("db_dispose")
@ApiModel(value = "DbDispose对象", description = "这是一张测试表")
public class DbDispose implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dispose_id", type = IdType.AUTO)
    private Integer disposeId;

    private String content;

    @Version
    private Integer version;


}
